import Https from "@/utils/Https";

//获取课程分类
export const getCategoryListFun = async (params) =>
  await Https.post("/course/category/categoryAllList", params);
//所有场馆
export const getVenueListFun = async (params) =>
  await Https.post("/course/venueAllList", params);
//所有教练
export const getCoachListFun = async (params) =>
  await Https.get("/employee/manage/listCoach", params);
//有效的约课流程模板
export const courseTemplateListFun = async (params) =>
  await Https.post("/course/courseTemplateList", params);
//会员卡有分页
export const vipCardListFun = async (params) =>
  await Https.post("/vip/cards/vipcardList", params);
//会员卡有分页
export const addClassFun = async (params) =>
  await Https.post("/course/addInfo", params, true);
